package com.itheima.mapper;

import com.itheima.pojo.Brand;

import java.util.List;
import java.util.Map;

public interface BrandMapper {
    List<Brand> selectAll();

    Brand selectById(int id);

    //    List<Brand> selectByCondition(Brand brand);
    List<Brand> selectByCondition(Map map);

    void add(Map map);
}

